//
// Created by Administrator on 2022/11/6.
//
#include <iostream>
#include <vector>
using namespace std;

void printV(vector<int> a)
{
    printf("%d\n",&a);
    cout<<"size:"<<a.size()<<", ";
    for(int i:a)
        printf("%d ",i);
    cout<<endl;
}

int main()
{
    vector<int> arr{0,1,2,3,4,5};
//    for(int i:arr)
//        cout<<i<<endl;
    vector<int> *p = &arr;
    printf("%d\n",arr[0]);
    printf("%d\n",&arr);
    printV(arr);
}